package com.carey.blog.repository.impl;

import java.util.logging.Logger;

import com.carey.blog.framework.latke.repository.gae.AbstractGAERepository;
import com.carey.blog.model.Skin;
import com.carey.blog.repository.SkinRepository;

/**
 * Skin Google App Engine repository.
 * 
 */
public final class SkinGAERepository extends AbstractGAERepository implements
		SkinRepository {

	/**
	 * Logger.
	 */
	private static final Logger LOGGER = Logger
			.getLogger(SkinGAERepository.class.getName());

	@Override
	public String getName() {
		return Skin.SKIN;
	}

	/**
	 * Gets the {@link SkinGAERepository} singleton.
	 * 
	 * @return the singleton
	 */
	public static SkinGAERepository getInstance() {
		return SingletonHolder.SINGLETON;
	}

	/**
	 * Private default constructor.
	 */
	private SkinGAERepository() {
	}

	/**
	 * Singleton holder.
	 * 
	 */
	private static final class SingletonHolder {

		/**
		 * Singleton.
		 */
		private static final SkinGAERepository SINGLETON = new SkinGAERepository();

		/**
		 * Private default constructor.
		 */
		private SingletonHolder() {
		}
	}
}
